// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "SimplePuckup.generated.h"

UCLASS()
class SIMPLE_API ASimplePuckup : public AActor
{
	GENERATED_BODY()
	
public:	
	// Sets default values for this actor's properties
	ASimplePuckup();

	UPROPERTY(VisibleAnywhere, Category = Simple, BlueprintReadOnly)
	class USphereComponent* SphereComponent;

	UPROPERTY(VisibleAnywhere, Category = Simple, BlueprintReadOnly)
	class UParticleSystemComponent* ParticleComponent;
protected:

	UPROPERTY(EditDefaultsOnly, Category = Simple)
	float AddHealth;
	UPROPERTY(EditDefaultsOnly, Category = Simple)
	float AddSpeed;
	UPROPERTY(EditDefaultsOnly, Category = Simple)
	float AddDamege;
public:
	virtual void NotifyActorBeginOverlap(AActor* OtherActor) override;

};
